package com.bean;

/**
 * @author Cc
 * 2024-03-26
 */
public class White extends People implements Work {
    private String name;

    private int age;

    private float weight;

    public White() {
    }

    public White(String name, int age, float weight) {
        this.name = name;
        this.age = age;
        this.weight = weight;
    }

    @Override
    public void work() {
        System.out.println("True Dude");
    }

    @Override
    public String toString() {
        return "White{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", weight=" + weight +
                '}';
    }
}
